PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPDeleteEvent

Removes an event group.

OSStatus MPDeleteEvent (MPEventID event);
event
A value of type MPEventID that specifies the ID of the event group you want to remove.
function result
A result code. See Result Codes for a list of possible values.
DISCUSSION

After deletion, the event ID becomes invalid, and all internal resources associated with the event group are reclaimed. Calling this function unblocks all tasks waiting on the event group and their respective MPWaitForEvent calls will return with the result code kMPDeletedErr .

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

SEE ALSO

The function MPCreateEvent .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)